package com.aop;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@ComponentScan("com.aop")
@Configuration
@EnableAspectJAutoProxy
public class AspectJConfig {

    @Bean
    public UserDaoByAno getUserDaoByAno() {
        return  new UserImplByAno();
    }
}
